import {
  HomeIcon,
  BookOpenIcon,
  UserCircleIcon,
  CodeBracketIcon,
  RssIcon,
  SunIcon,
  MoonIcon,
} from "@heroicons/vue/24/outline";
export const navLinks = [
  {
    path: "/",
    title: "首页",
    icon: HomeIcon,
    exact: true,
  },
  {
    path: "/posts",
    title: "技术文章",
    icon: BookOpenIcon,
    children: [
      {
        title: "前端开发",
        path: "/posts/frontend",
        badge: "Vue|React",
      },
      {
        title: "后端架构",
        path: "/posts/backend",
        badge: "Node|Go",
      },
      {
        title: "DevOps",
        path: "/posts/devops",
        badge: "Docker|K8s",
      },
    ],
  },
  {
    path: "/projects",
    title: "开源项目",
    icon: CodeBracketIcon,
  },
  {
    path: "/about",
    title: "关于作者",
    icon: UserCircleIcon,
  },
  {
    path: "/rss",
    title: "RSS订阅",
    icon: RssIcon,
    external: true,
  },
  {
    title: "主题切换",
    icon: "theme",
    component: "ThemeToggle",
    themeSwitch: true,
  },
];
